package cn.u313.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import cn.u313.entry.TestEntry;

public interface TestEntryRepository extends JpaRepository<TestEntry, Integer>, JpaSpecificationExecutor<TestEntry> {
    @Query(nativeQuery = true,value = "SELECT * FROM `t_yjilu` where id = '89152' ")
    public TestEntry byId();
}